package com.example.casserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * CAS服务器应用主类
 * 实现CAS单点登录协议服务端
 */
@SpringBootApplication
@EnableScheduling  // 启用定时任务，用于清理过期票据
public class CasServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(CasServerApplication.class, args);
        System.out.println("CAS Server started successfully...");
        System.out.println("CAS Server started successfully...");
        System.out.println("CAS Server started successfully...");
    }
} 